﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NasuTek.Shion.Extencibility
{
    /// <summary>
    /// Default requred interface needed in a Plugin.
    /// </summary>
    /// <remarks>
    /// The class that inherits this interface must be called Plugin for the EM Loader
    /// </remarks>
    /// <example>
    /// C#
    /// <code>
    /// public class Plugin : IPlugin
    /// {
    ///     #region IPlugin Members
    /// 
    ///     public void Load(ExtencibilityManager e)
    ///     {
    ///         e.Aliases.Add("np", new NowPlaying());
    ///     }
    /// 
    ///     #endregion<br />
    /// }
    /// </code>
    /// </example>
    public interface IPlugin
    {
        /// <summary>
        /// Loader Method for EM
        /// </summary>
        /// <param name="e">Extencibility Manager</param>
        void Load(ExtencibilityManager e);
    }
}
